﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class ChiTietMonAnDTO
    {
        private int _ID;

        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        private int _MonAn;

        public int MonAn
        {
            get { return _MonAn; }
            set { _MonAn = value; }
        }
        private int _NVL;

        public int NVL
        {
            get { return _NVL; }
            set { _NVL = value; }
        }
        private string _DonViTinh;

        public string DonViTinh
        {
            get { return _DonViTinh; }
            set { _DonViTinh = value; }
        }
        private int _SoLuong;

        public int SoLuong
        {
            get { return _SoLuong; }
            set { _SoLuong = value; }
        }

        public ChiTietMonAnDTO()
        {
            _ID = 0;
            _MonAn = 0;
            _NVL = 0;
            _DonViTinh = "";
            _SoLuong = 0;
        }

        public ChiTietMonAnDTO(int ID, int MonAn, int NVL, string DVT, int SL)
        {
            _ID = ID;
            _MonAn = MonAn;
            _NVL = NVL;
            _DonViTinh = DVT;
            _SoLuong = SL;
        }
    }
}
